home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / g_quake / swchpal.zip / SWCHPAL.TXT < prev   
Text File  |  1996-09-16  |  2KB  |  44 lines

  1. Swch pal 1.0
  2. This is a simple program I wrote to convert the quake palette from one
  3. to another.  This program is used to convert all the graphic data from
  4. the old palette to the new one that you plan to use.
  5. Usage:
  6. swchpal myfile.ext
  7. if you do not include a filename it will use pak0.pak.
  8. You may convert:
  9. Pak      All the graphics in this archive are done, it's recursive.
  10. Wad2     This uses the type indicator in the wad file.
  11. spr      converts the sprites.
  12. BSP      converts the textures in the BSP files.
  13. Lmp      usually converts the graphics in these.(used on wad's data too)
  14. Mdl      converts the skins to the new palette.
  15.  
  16. If you put a pak file in a pak file, I don't know what quake does, but this
  17. program will follow it too.  The palette entry in Wad files are converted.
  18. but to the RGB triplets, not the index numbers (The right way).
  19. If you have any questions or comments, just e-mail me at
  20. ABay@teir.com.
  21.  
  22. If you just copy your pak files to a new directory, you need to modify pak0
  23. so that the palette and colormap entries are not what they are called.  Quake
  24. will use them first, not the ones in the \gfx directory.
  25.  
  26. You will see a lot of neat stuff go by, and if you want to you may redirect
  27. it to a file by adding >output.txt to the command.  Just hit enter a few times
  28. so that it won't stop forever on you.  Then you may read a lot of interesting
  29. information.
  30.  
  31. Remember to put the lmp's in the gfx dir to use them.
  32. Only the first 768 bytes of the newpal.pal are really used.
  33.  
  34. Planned features:
  35. Command line parameter to change the size of the fullbrights(to 0 if desired).
  36. only converting certain types of files in the pak, or only of a size <X.
  37.     (for converting most graphics but not the levels, so you can make a
  38.     quicker conversion to your levels.)
  39. Option to remove those huge BSP files.(same reason/ files space.)
  40.  
  41.  
  42. Share & Enjoy!
  43. Andy Bay
  44.